import request from "@/utils/request";
// 调用权限
export default {
  //查看文章列表
  getList(data) {
    return request({
      url: "/api/application/fixer/",
      method: "get",
      params: data
    });
  },
  getFixer(data) {
    return request({
      url: "/api/application/get_fixer/",
      method: "get",
      params: data
    });
  },
  toEdit(id, data) {
    return request({
      url: "/api/application/fixer/"+id+"/",
      method: "put",
      data: data
    });
  },
  //新增文章
  getFixerInfo(id,data) {
    return request({
      url: "/api/application/fixer/"+id+"/",
      method: "get",
      params: data
    });
  },
};
